package com.whut.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whut.customer.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-01-23
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> getUserRolesByUserId(@Param("userId") Long userId);
}
